package com.ffs.context;

import com.ffs.context.pipe.GameLoadPipe;

/**
 * 游戏管道测试
 * @author ffs80 created 2021/7/5
 */
public class GameMain {

    public static void main(String[] args) {
        Pipeline instance = GameLoadPipe.getInstance();
        instance.init();
        //贯通整个流程的参数
        instance.process("参数！");
        //打印流程运行至最后的结果
        System.out.println(instance.getResData());
    }
}
